﻿<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/jsp/common/common.jsp"%>
<html>
	<head>
		<script language="javascript" src="<%=contextPath%>/js/func.js"type=""></script>
		<script type="text/javascript" src="<%=contextPath%>/js/My97DatePicker/WdatePicker.js"></script>
		<script>
			Ext.onReady(function(){
				var tb = new Ext.Toolbar({
			   		renderTo: document.all.tbar,
			    	items: [
				        {
				            text: '查询',
				            icon:"<%=contextPath%>/images/query.gif",
				            handler:cmt
				        
				        }
			    	]
			    });
			});
		</script>
	</head>
	<body>
	<div id = "tbar" style="position:absolute;display:block left:0px; top:0px; width:100%; height:8%; z-index:1;"></div>
	<br>
	<div id="Layer" style="position:absolute;display:block left:0px; top:36px; width:100%; height:92%; z-index:1000; overflow:auto;">
		<form id="frmM"   name="frmM" method="POST" action="">
			<input type="hidden" name="searchBean.displayFlag" value="${searchBean.displayFlag}"/>
			<input type="hidden" name="conditionHtml" />
			<table width="100%" id="contab">
				<tr>
					<th width="120">
						操作月份：
					</th>
					<td>
						<input type="text" readonly="true" name="searchBean.con1" size="12" onclick="{img_con1.click()}" onChange="cmt();" id="searchBean.con1" value="${searchBean.con1}"/>
						<img id="img_con1" onclick="WdatePicker({dateFmt:'yyyy-MM',el:$dp.$('searchBean.con1')})" src="<%=contextPath%>/js/My97DatePicker/skin/datePicker.gif" width="16" height="22" align="absmiddle">
					</td>
					
				</tr>

			</table>
			<hr>
			<table width="100%" id="listtab">
				<tr>					
					<th>单位班组</th>
					<th>三日及时安排率</th>
					<th>八日及时安排率</th>					
					<th>缺陷消除率</th>									
					<!--
					<th   width="10%" nowrap>MAC</th>
					<th   width="10%" nowrap>IP地址</th>
					<th   width="10%" nowrap>机器名称</th>-->
				</tr>
				
				<c:forEach items="${list}" var="qxtj" >
					<tr>
						<td><c:out value="${qxtj.bzname}"/></td>
						<td><c:out value="${qxtj.three}"/></td>
						<td><c:out value="${qxtj.eight}"/></td>						
						<td><c:out value="${qxtj.zong}"/></td>		
					</tr>
				</c:forEach>

				<c:if test="${list == null || fn:length(list) == 0 }">
					<tr>
						<td colspan="9" style="text-align: center">
							无相关记录
						</td>
					</tr>
				</c:if>
			</table>
			<hr>
			<table width="100%">
				<tr>
					<td></td>
				</tr>
			</table>
		</form>
		</div>
	</body>
</html>
<script language="javascript">

			// 查询
			function cmt(){				
				document.frmM.action = "<%=contextPath%>/qxtjList!getList.do";//&page=1&searchBean.conAdvance=" + getWhere();
				document.frmM.submit();
			}
	   		

		</script>